package niconama04.client;

import java.util.List;

import niconama04.shared.data.Category;
import niconama04.shared.data.Original;
import niconama04.shared.data.Sentence;

import com.google.gwt.user.client.rpc.AsyncCallback;


public interface CreateServiceAsync {
	
	void getOriginals(AsyncCallback<List<Original>> callback);

	void getCategorys(AsyncCallback<List<Category>> callback);
	
	void getSentenceByOriginal(Original x_original, AsyncCallback<Sentence> callback);

	void getSentenceByCategory(Category x_category, AsyncCallback<Sentence> callback);
}
